﻿using System;
using System.Collections.Generic;
using Wamm.ApplicationExceptions;

namespace Wamm.Model.Abstract {
    public interface IEntity {
        int Id { get; set; }
        string AddedBy { get; set; }
        DateTime Added { get; set; }
        string LastUpdatedBy { get; set; }
        DateTime LastUpdated { get; set; }
        void Validate(IList<RuleViolation> errors);
    }
}
